package com.wangzhixuan.service.impl;

import com.wangzhixuan.model.TFile;
import com.wangzhixuan.mapper.RoleMapper;
import com.wangzhixuan.mapper.TFileMapper;
import com.wangzhixuan.service.ITFileService;
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 组织机构 服务实现类
 * </p>
 *
 * @author zhixuan.wang
 * @since 2017-06-11
 */
@Service
public class TFileServiceImpl extends ServiceImpl<TFileMapper, TFile> implements ITFileService {
    @Autowired
    private TFileMapper tFileMapper;
    
	@Override
	public Page<TFile> selectPageFile(Page<TFile> page, TFile tfile) {
		// TODO Auto-generated method stub
		 page.setRecords(tFileMapper.selectPageFile(page,tfile));
	     return page;
	}
	
}
